package cc.linker.steplink.crm.service;

import cc.linker.steplink.crm.domain.Label;

import java.util.List;
import java.util.Map;

public interface ILabelService {
    List<Map<String, Object>> listLabel(Map<String, Object> map) throws Exception;

    Boolean addLabel(Label record) throws Exception;

    Boolean delLabel(String labelId) throws Exception;

    Boolean updateLabel(Label record) throws Exception;

    Boolean addCustomLabel(List<Map<String,Object>> list,String customerId) throws Exception;

    List<Map<String, Object>> getLabelsByOrgId(String orgId) throws Exception;

    List<Map<String, Object>> getArticleLabelsByOrgId(String orgId) throws Exception;

    List<Map<String, Object>> getLabelList(String orgId,Integer labelType) throws Exception;

    Map<String, Object> getLabel(String labelId) throws Exception;

    String getLabelIdByName(Map<String, String> map) throws Exception;
}
